@echo off

set output=class_ini.o

set armdir=c:\arm
set sdkdir=..\sdk
set options=
rem -DDEBUG -DDEBUG_MEMORY

if exist %output% del %output%



set src_input=cini.cpp

%armdir%\tcpp -I"%sdkdir%" -c -bigend -O2 -apcs /interwork -o %output% %options% %src_input%


if exist %output% (
	echo ACK: File `%output%` created
) else (
	echo ERR: File `%output%` not created
)
echo =======================================

set output=ccfile.o
if exist %output% del %output%
set src_input=ccfile.cpp
%armdir%\tcpp -I"%sdkdir%" -c -bigend -O2 -apcs /interwork -o %output% %options% %src_input%


if exist %output% (
	echo ACK: File `%output%` created
) else (
	echo ERR: File `%output%` not created
)
